home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-15
/
486test.zip
/
486TEST.ASM
next >
Wrap
Assembly Source File
|
1992-01-20
|
491b
|
23 lines
; 386/486 memory-write performance test, by Michael Abrash. Result
; divided by 1000 is the time to write a single dword,
; in nanoseconds.
; Designed to work with Zen timer, from _Zen of Assembly Language_,
; by Michael Abrash. Distribute freely. Use at your own risk.
.386
jmp begin
align 4
target dd ?
begin:
mov dx,2
mov bx,offset target
loopx:
call ZTimerOn
rept 1000
mov [bx],eax
endm
call ZTimerOff
dec dx
jz xxx
jmp loopx
xxx: